package com.hyx.api.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import java.io.Serializable;


/**
 * 用户数据视图 user
 *
 * @author ruoyi
 * @date 2023-10-15
 */
@Data
public class AppUserVo implements Serializable
{

    private static final long serialVersionUID = 1L;

    private Long id;

    /** 账号 */
    @Excel(name = "账号")
    private String username;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;


    /** 类型（0：总账户  1：报价师  2：门店公司  3：店长  4：店员） */
    @Excel(name = "类型", readConverterExp = "0=：总账户,1=：报价师,2=：门店公司,3=：店长,4=：店员")
    private Integer type;

    /** 回收商ID */
    @Excel(name = "回收商ID")
    private Long recoveryId;

    private String recoveryName;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    private String companyName;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long storeId;

    private String storeName;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginTime;

}

